﻿
using Microsoft.VisualBasic;
using System.Text.Json;

namespace AuthorityManagement.Helper
{
    public static class StringExtensions
    {
        public static T FromJsonString<T>(this string json)
        {

            var jsondesc = JsonSerializer.Deserialize<T>(json);
            return jsondesc;
        }
    }
}
